module Ddd
  def eql? model
    self.attributes.eql?(model.attributes)
  end
end